#!/usr/bin/env node
import { Command } from "commander";
import * as pak from "./package.json";
import { createTemplate } from "./src/bin/create";
const program = new Command();
// 脚手架版本号
program.version(pak.version);
// 设置启动命令
program.command("create").action(() => {
  console.log("🚀 创建项目");
  createTemplate();
});

// 解析命令行参数
program.parse(process.argv);
